/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.heathrowapi;

import cz.muni.fi.heathrowapi.dto.UserDTO;
import java.util.List;

/**
 *
 * @author nekdo
 */
public interface UserService {
    UserDTO get(String username);

    UserDTO get(Long id);

    void create(UserDTO user);

    void remove(UserDTO user);

    void update(UserDTO user);
    
    void updatePassword(UserDTO user, String password);
    
    boolean checkPassword(UserDTO user, String password);
    
    List<UserDTO> findAll();
}
